#include "SunShape.h"


//#include <format>

namespace solar
{
    

    int SunShape::getSunshapeType(std::string str)
    {
        int ret = -1 ;
        if(str == "Buie") ret = int(SunShapeType::kSunShapeBuie);
        else if(str == "Pillbox") ret = int(SunShapeType::kSunShapePillbox);
        else if(str == "Gaussian") ret = int(SunShapeType::kSunShapeGaussian);

        return ret;
    }

    
} // namespace solar

